package com.company.cloud.tag.modules.mgr.controller.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class LabelTypeSaveParam {
	@ApiModelProperty(value = "名称", required = true)
	@NotEmpty(message = "名称不能为空")
	private String typeName;

	@ApiModelProperty(value = "标签类型(统计 规则 算法)")
	private String type;

	@ApiModelProperty(value = "标签主题编号", required = true)
	@NotEmpty(message = "标签主题编号不能为空")
	private String themeNo;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "顺序", required = true)
	@NotNull(message = "顺序不能为空")
	private Integer orders;
}
